package cn.edu.scau.cmi.zhaotingjie.chapter05;

public class Computer {
	public int getSum(int ... x) {
		int sum = 0;
		for(int i = 0;i<x.length;i++) {
			sum = sum+x[i];
		}
		return sum;
	}
}
